/*
 * @Author: fanyaqing
 * @Date: 2021-08-04 15:43:29
 * @LastEditTime: 2021-08-23 09:02:02
 * @LastEditors: fanyaqing
 * @Description: 
 * @FilePath: \supermall\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import FastClick from 'fastclick'
import VueLazyload from 'vue-lazyload'

import toast from 'components/common/toast'
// 安装toast插件
Vue.use(toast)
// 解决移动端300ms的延迟
FastClick.attach(document.body)

// 图片懒加载，
Vue.use(VueLazyload)

Vue.config.productionTip = false
Vue.prototype.$bus=new Vue();
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')

// 